package com.doone.telmarket.infrastructure.dao;

import java.util.List;

import com.doone.telmarket.domain.Service;
import com.doone.telmarket.vo.ServiceVo;

/**
 * 
 * @author 吴同庆
 * @date 2009-9-15
 * @description 增值业务实体数据库问接口
 * @package     com.doone.telmarket.infrastructure.dao
 */
public interface ServiceDAO {

	/**根据ID获取增值业务**/
	Service selectServiceByPrimaryKey(Integer serviceCode);

	/**保存增值业务**/
	Service insertService(Service service);

	/**根据类型获取增值业务**/
	public List<Service> getServiceList(Service service);

	/**根据ID删除增值业务**/
	public int deleteServiceById(Integer id);

	public List<Service> getAllService();
	
	public  List<Service> getServiceByServiceCodeAndServiceName(Service service);

	public List<ServiceVo> queryServiceVoByTypeNameAndClassifyName(ServiceVo vo);
}
